package com.yyplatform.frontend.infra.utils;

/**
 * Created on 2024-09-20
 */
public class IntUtils {
    public static int toInt(Integer obj, int defval) {
        if (obj == null) {
            return defval;
        }
        return obj.intValue();
    }
}
